#!/usr/bin/python -i
import numpy as np
import matplotlib.pyplot as plt

font = {'family': 'normal',
        'weight': 'bold',
        'size': 24}
plt.rc('font', **font)
plt.rc('text', usetex=True)

data = np.loadtxt("N_40__T1_4__T2_8.dat")
print len(data)
transient = 1000
temp = [data[transient:,2*(i)+1].var() for i in range(40)]
plt.plot(temp)
plt.show()

for i in range(40):
  plt.plot(data[transient:,0], data[transient:,2*(i+1)])
plt.show()

